﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Talentnet.Data.Entity;
using System.Data;
namespace Talentnet.Data
{
	partial interface ILoginUser
	{
        int Login(int clientID, string username, string password, string remoteIP);
        LoginUser GetUserDetail(string username);
        LoginUser GetUserDetail(Guid userRecID);
        DataTable GetUserPermissions(Guid userRecID);
        DataTable GetUserRoles(Guid userRecID);
        DataTable GetUserMenus(Guid userRecID);
        void CreateForgotPwdRequest(Guid userRecID,string validKey);
        int ValidateForgotPwdRequest(Guid userRecID, string validKey, string remoteIP);
        int UserChangePwd(Guid userRecID, string curPwd,string newPwd);
	}
}
